﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DLGameCore.Controller;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace DLGameCore.GameModel.State
{
    public interface IGameState
    {
        void initialize();
        void play(GameTime gameTime, SpriteBatch spriteBatch, GraphicsDevice graphicsDevice);
        void release();
    }
    public abstract class CGameState : IGameState
    {
        public EState state;

        public void initialize()
        {
        }
        public void play(GameTime gameTime, SpriteBatch spriteBatch, GraphicsDevice graphicsDevice)
        {
            graphicsDevice.Clear(Color.Red);
        }
        public void release()
        {
        }
    }
}
